package com.loveto.model;

public class RoundInfo {
	private int tournamentid;
	private int roundseq;
	private String questionContent;
	private String questionLowCategory;
	
	public RoundInfo() {
		
	}
	public RoundInfo(int tournamentid, int roundseq, String questionContent,
			String questionLowCategory) {
		super();
		this.tournamentid = tournamentid;
		this.roundseq = roundseq;
		this.questionContent = questionContent;
		this.questionLowCategory = questionLowCategory;
	}


	@Override
	public String toString() {
		return "RoundInfo [tournamentid=" + tournamentid + ", roundseq="
				+ roundseq + ", questionContent=" + questionContent
				+ ", questionLowCategory=" + questionLowCategory + "]";
	}
	
	public int getTournamentid() {
		return tournamentid;
	}
	
	public void setTournamentid(int tournamentid) {
		this.tournamentid = tournamentid;
	}
	public int getRoundseq() {
		return roundseq;
	}
	public void setRoundseq(int roundseq) {
		this.roundseq = roundseq;
	}
	public String getQuestionContent() {
		return questionContent;
	}
	public void setQuestionContent(String questionContent) {
		this.questionContent = questionContent;
	}
	public String getQuestionLowCategory() {
		return questionLowCategory == null ? "직접입력" : questionLowCategory;
	}
	public void setQuestionLowCategory(String questionLowCategory) {
		this.questionLowCategory = questionLowCategory;
	}
	
}
